home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: <no subject>
- Sent: 4/19/96 11:30 AM
- Received: 4/19/96 11:41 AM
- From: Jim Lloyd, jim@melongem.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 5:40 AM 4/19/96, PIPUS Aurora wrote:
- >I have created an initial project, to which I have added my part
- >specific code, using PartMaker provided with ODF 1.0d11. Nevertheless,
- >when I modify the code and compile it, after several times, the new
- >part seems not to see these changes. For example, if I comment the
- >call to the DoHelloCommand in the DoMenu, the part changes the message
- >displayed by the part.
- >Can someone help me?
- >Thanks. Aurora.
-
- Aurora,
-
- There are several reasons why your last-built OpenDoc part might not get
- launched. I suggest you do the following:
-
- 1) Make an alias to your part editor library and place this is the Editors
- folder. If you copy the shared library into the editors folder, and then
- rebuild your part and forget to move it into the Editors folder, you'll
- still be launching the old editor. Using an alias means that you leave the
- Part Editor where your development environment builds it.
-
- 2) Make sure there are no other copies of your part editor where OpenDoc or
- the Code Fragment Manager might find them. Ideally, there should be only
- one shared library containing your part on your system. Note that CFM
- finds shared libraries by looking at the cfrg resource, not by using the
- file name. You can't hide an OpenDoc part editor by simply renaming it in
- the finder.
-
- 3) Make sure your part editor has unique code fragment names (in the cfrg
- resource). Since you used PartMaker, this is simply a matter of making
- sure you filled in your Company Name and used a unique Project Name.
-
- You also asked about debugging. The OpenDoc team has provided quite a bit
- of information about debugging OpenDoc parts for all of the popular
- development environments and debuggers. Have you read this information?
- Look on the DR4 CD in the path:
-
- 'OpenDocâ„¢ Dev Rel 4:Development:Debugging OpenDoc:'
-
- If you're using CodeWarrior, all you need to do is Enable Debugging, build
- your part, and then open the .xSYM file to launch the debugger. Then,
- either make stationery for your part, or open an existing stationery or
- document. The CodeWarrior debugger will notice your part editor code
- fragment being loaded, and stop the launch, and give you a chance to set
- breakpoints.
-
- Jim Lloyd
- ODF Team
-
-